package com.example.building_material_mannager.controller;

import com.example.building_material_mannager.entity.OtherIncome;
import com.example.building_material_mannager.entity.OtherSelect;
import com.example.building_material_mannager.service.OtherIncomeService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import java.util.List;

@Controller
public class OtherIncomeController {
    @Resource
    OtherIncomeService otherIncomeService;

    public List<OtherIncome> selectOtherIncome(OtherSelect otherSelect) {

        return otherIncomeService.selectOtherIncome(otherSelect);
    }
}
